-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add official support for Java 21 #1940
Conversation
zigbee2mqtt test is disabled here. Couldn't we enable it back? |
Yep!, I just forgot to after we merged the fix. I'll do that now. |
39618ef
to
bf8455e
Compare
@mstormi I can't quite fathom why, but OpenJDK 21 really doesn't like the GitHub Actions env. When I run it locally on Docker it works perfectly but not in Actions. I feel confident enough with all of this for it to be reviewed though. I'm on the fence about defaulting to the Temurin over OpenJDK for 21 because of the issues I'm seeing here and because then it has to use unstable for the source. It also upgrades other packages when installing from unstable because they are dependencies which I don't really like (ie Let me know your thoughts. (There ended up being a bunch of random fixes to automated testing that I found and added while debugging that stupid OpenJDK 21 issue that I never could figure out) |
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
Signed-off-by: Ethan Dye <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall although I'm unable to determine by just looking at the diffs if OpenJDK 21 is really available now and where it's coming from.
The firmware comments at the end are guessed but you probably wrote that code before you saw I revoked your recent changes.
Yeah I'll fix those. OpenJDK 21 is available from unstable and Temurin. Both are provided as options and should work well. |
Signed-off-by: Ethan Dye <[email protected]>
Alright. I think you should release a new image with this in, plus the fixed hotspot. |
Should I make it another patch release or do a minor to 1.10? I'm thinking 1.10 because of the addition of Java 21 support. WDYT? |
yeah, 1.10. Went for beer (alcfree) and wanted to add that but you were faster :) |
pls also add the changelog like in older releases, too. |
This also adds checks to make sure that Java 21 is installed before upgrading to openHAB 5.
Fixes #1937